<table class="bordered">
<thead>
	<th colspan="8"><?= trans('title_page_product') ?><a style="float:right" href="<?= admincp_url() ?>product/add"><?= trans('add_more') ?></a></th>
</thead>
<tbody>
<tr>
	<th class="title">#</th>
    <th class="title"><?= trans('catalogue') ?></th>
    <th class="title"><?= trans('name') ?></th>
    <th class="title"><?= trans('old_prices') ?></th>
    <th class="title"><?= trans('new_prices') ?></th>
    <th class="title"><?= trans('view') ?></th>
    <th class="title" colspan="2"><?= trans('action') ?></th>
</tr>
</tbody>
<?php
$stt=0;
foreach($info as $item){
	$stt++;
	echo "<tr>";
		echo "<td>".$stt."</td>";
		echo "<td>".$item['cata_name']."</td>";
		echo "<td>".$item['pro_name']."</td>";
		echo "<td>";
		if($item['pro_price_old'] != ""){
			echo number_format($item['pro_price_old']);
		}else{
			echo trans('empty_data');	
		}
		echo "</td>";
		echo "<td>".number_format($item['pro_price_new'])."</td>";
		echo "<td>".$item['pro_view']."</td>";
		echo "<td><a href=\"".admincp_url()."product/edit/id/".$item['pro_id']."\"><img src='".base_url()."public/images/icons/edit.png' /></a></td>";
		echo "<td><a href=\"".admincp_url()."product/delete/id/".$item['pro_id']."\"><img src='".base_url()."public/images/icons/delete.png' /></a></td>";
	echo "</tr>";
}
?>
</table>
<div id="jquery_link" align="center">
	<?php echo $pagination;?>
</div>